package com.project.class8_24.proxy.model1;

public class Test {
    public static void main(String[] args) {
        ExceptionProxy proxy = new ExceptionProxy(new ProductServiceImpl());
        IProductService service = (IProductService) proxy.getProxy();
        service.run();
        service.sleep();
        service.speak();
    }
}
